﻿
using Ops.Mpc.Models;
namespace Ops.Mpc.ExampleApplication.Polling.Controls.Models
{
    public class PollingItemModel : Model<PollingItemModel>
    {
        private string _name = string.Empty;
        private int _count = 0;

        public string Name
        {
            get
            {
                return this._name;
            }

            set
            {
                this._name = value;
                this.RaisePropertyChanged(model => model.Name);
            }
        }

        public int Count
        {
            get
            {
                return this._count;
            }

            set
            {
                this._count = value;
                this.RaisePropertyChanged(model => model.Count);
            }
        }
    }
}
